package com.winsomely.util;

import java.util.Random;

public class Test {

	private static final Random ran1 = new Random(100);
	private static final Random ran2 = new Random(100);

	// 92233720368
	public static void main(String[] args) {
		for (int i = 0; i < 100; i++) {
			int r1 = ran1.nextInt(2);
			int r2 = ran2.nextInt(2);
			System.out.println(r1 + " --- " + r2);
		}

		// long a = 1609430400000L;
		// long b = 9223372036800L;
		// long c = a + b;
		// System.out.println(c);
		// SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
		// String s = f.format(new Date(c));
		// System.out.println(s);
		//
		// System.out.println(System.currentTimeMillis() - a);
		// System.out.println("==============");
		//
		// long x = 0, y = 0, z = 0;
		// for (int i = 0; i < 100000000; i++) {
		// long m = (long) (Math.random() * 100000000) % 3;
		// if (m == 0)
		// x++;
		// else if (m == 1)
		// y++;
		// else if (m == 2)
		// z++;
		// else
		// System.out.println("Oh My God!!!");
		// }
		// System.out.println("x = " + x);
		// System.out.println("y = " + y);
		// System.out.println("z = " + z);
		// System.out.println("x + y + z = " + (x + y + z));
	}

}
